getStream

@Nullable
open fun getStream(): @Nullable Uri(source)

Get a URI referring to a data stream shared with the target activity.

This call will fail if the share intent contains multiple stream items. If isMultipleShare returns true the application should use getStream and getStreamCount to retrieve the included stream items.

Return

A URI referring to a data stream to be shared or null if one was not supplied

See also


@Nullable
open fun getStream(index: Int): @Nullable Uri(source)

Get the URI of a stream item shared with the target activity. Index should be in the range [0-getStreamCount()).

Return

Requested stream item URI

Parameters

index

Index of text item to retrieve

See also